package edu.sctu.practice.class02.Wangpeng.Test8;

/**
 * Created by wp on 2015/11/9.
 */
public class Cilent {
    public static void main(String[] args){
        Vehicles f1=new Vehicles("宝马","黑色");
        Car f2=new Car("奥迪","红色",6);
        Truck f3=new Truck("奔驰","银色",10000);

        f1.run();
        f2.run();
        f1.showInfo();
        f2.showInfo();
        f3.showInfo();
    }
}
